﻿using UnityEngine;
using System.Collections;

public class BeeAnimator : MonoBehaviour
{	
	private Transform _transform;
	
	public void UpdateLookRotation(Vector3 targetPos)
	{
		_transform.LookAt(targetPos);
	}
	
	public float GetRotationY()
	{
		return _transform.rotation.eulerAngles.y;
	}
	
	private void Awake()
	{
		_transform = transform;
	}

	// Use this for initialization
	void Start() 
	{
	
	}
	
	// Update is called once per frame
	void Update()
	{
		
	}
				
}
